import sequelize from "./sequelize.js"
import {Teacher} from "../model/Teacher.js"

export const DB=function () {
    try {
        sequelize.sync()
        console.log("数据库创建成功");
        
    } catch (error) {
       console.log("错误为："+error);
        
    }
}